@import '~taro-ui/dist/style/components/tabs.scss';
.totalPage_homePage {
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  .orderDetail {
    display: hidden;
  }
  .topPage {
    width: 100%;
    height: auto;
    background: url('../../../images/taihuHomePage/bgTop.png');
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
    padding: 0 0 0 18px;
    .topBar {
      width: 317px;
      height: 110px;
    }
  }
  .stricky {
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .fontPage {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 5;
    background: #f5f5f5;
    .contentPage {
      width: 100%;
      height: 100%;
      overflow-y: scroll;
      margin-bottom: 114px;
      &.high {
        margin-bottom: 164px;
      }

      .homePage {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: url('../../../images/taihuHomePage/bgDown.png');
        // background-size: 100% 240px;  //显示搜索框
        background-size: 100% 180px; //不显示搜索框
        background-repeat: no-repeat;
        background-position: 0 0;
        &.h5Position {
          background-position: 0 184px;
        }

        .end {
          width: 100%;
          height: 26px;
          margin: 10px 0 16px 0;
          display: flex;
          justify-content: center;
          font-size: 22px;
          font-weight: 400;
          color: rgba(0, 0, 0, 0.25);
          line-height: 26px;
        }
        .searchCnt {
          margin: 10px 0 20px;
        }

        .swiperServices {
          position: relative;
          width: 100%;
          // height: 415px; //带翻页高度
          // height: 138px;
          box-sizing: border-box;
          // padding: 32px 12px 30px; //带翻页
          margin: 30px 0 16px 0; //单行
          padding: 0 28px; //单行

          .banner {
            width: 100%;
            height: 347px;
          }
          .serviceList {
            width: 100%;
            height: 100%;
            display: flex;
            // flex-flow: wrap; //带翻页
            justify-content: space-between; //单行
            .serviceArea {
              flex-shrink: 0;
              // flex: 0 0 20%; //带翻页
              width: 110px; //单行
              height: 100%; //单行
              // display: flex; //带翻页
              // justify-content: center; //带翻页
              // margin-bottom: 19px; //带翻页
              .service {
                // width: 116px; //带翻页
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                .serviceIcon {
                  flex-shrink: 0;
                  width: 100%;
                  // height: 116px; //带翻页
                  height: 110px;
                }
                .serviceText {
                  flex-shrink: 0;
                  width: 100%;
                  height: 33px;
                  // margin-bottom: 2px; //带翻页
                  margin-top: 5px; //单行
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  font-size: 24px;
                  font-weight: bold;
                  color: #666666;
                }
              }
            }
          }

          .serviceIndexShow {
            width: 100%;
            height: 6px;
            display: flex;
            justify-content: center;
            .line {
              width: 21px;
              height: 6px;
              background: #d8d8d8;
              border-radius: 4px;
              margin: 0 4px;
              &.active {
                width: 59px;
                background: #2540a0;
              }
            }
          }
        }

        .cp {
          flex-shrink: 0;
          margin-bottom: 10px;
          width: 100%;
          height: 180px;
          display: flex;
          justify-content: center;
          .cpIcon {
            width: 710px;
            height: 100%;
          }
        }

        .cheaperArea {
          display: none; //省钱专区在首页要求暂不显示
          width: 710px;
          background: #ffffff;
          border-radius: 15px;
          box-sizing: border-box;
          padding: 30px 24px 23px 24px;
          .headerLine {
            width: 100%;
            height: 33px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            .title {
              width: 133px;
              height: 33px;
              margin-left: 3px;
            }
            .more {
              height: 30px;
              display: flex;
              align-items: center;
              .text {
                height: 30px;
                line-height: 30px;
                font-size: 22px;
                font-weight: 400;
                color: #666666;
              }
              .iconRight {
                margin-left: 6px;
                width: 26px;
                height: 28px;
              }
            }
          }
          .productList {
            width: 100%;
            display: flex;
            justify-content: space-between;
            &.prolm {
              justify-content: flex-start;
            }
            .product {
              width: 148px;
              display: flex;
              flex-direction: column;
              &.prom {
                margin-right: 23px;
              }
              .upImg {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                height: 148px;
                background: #f5f5f5;
                border-radius: 9px;
                position: relative;
                .picture {
                  width: 100%;
                  height: 100%;
                  border-radius: 9px;
                }
                .activeIcon {
                  position: absolute;
                  top: 0;
                  right: 13px;
                  &.tuancan {
                    width: 36px;
                    height: 65px;
                  }
                  &.zhekou {
                    width: 57px;
                    height: 35px;
                  }
                }
              }
              .priceLineCurrent {
                width: 100%;
                height: 42px;
                margin-top: 9px;
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                font-size: 30px;
                font-weight: bold;
                color: #cd1818;
              }
              .priceLineOrigin {
                width: 100%;
                height: 28px;
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                font-size: 20px;
                color: #999999;
                text-decoration: line-through;
              }
            }
          }
        }

        .newShopArea {
          width: 710px;
          background: #ffffff;
          border-radius: 15px;
          box-sizing: border-box;
          padding: 30px 24px;
          .headerLine {
            width: 100%;
            height: 33px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 27px;
            .title {
              width: 137px;
              height: 33px;
              margin-left: 2px;
            }
            .more {
              height: 30px;
              display: flex;
              align-items: center;
              .text {
                min-width: 200px;
                height: 30px;
                line-height: 30px;
                text-align: end;
                font-size: 22px;
                font-weight: 400;
                color: #666666;
              }
              .iconRight {
                margin-left: 6px;
                width: 26px;
                height: 28px;
              }
            }
          }
          .shopList {
            width: 100%;
            display: flex;
            justify-content: flex-start;
            .shopImg {
              width: 148px;
              height: 148px;
              border-radius: 9px;
              margin-right: 23px;
              &:last-child {
                margin-right: 0;
              }
            }
          }
        }

        .classType {
          width: 100%;
          background: #f5f5f5;
          display: flex;
          align-items: center;
          position: sticky;
          top: 0;
          z-index: 20;
        }

        .recProduct {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          margin: 0 auto;
          width: 710px;
          min-height: 540px;
          .goodInfo {
            width: 345px;
            height: 558px;
            margin-bottom: 20px;
            background: #ffffff;
            border-radius: 12px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            .goodIcon {
              width: 345px;
              height: 345px;
              border-radius: 12px 12px 0 0;
            }
            .goodBase {
              width: 100%;
              flex: 1;
              box-sizing: border-box;
              padding: 18px 11px 20px 22px;
              display: flex;
              flex-direction: column;
              justify-content: space-between;
              .goodName {
                width: 100%;
                height: 80px;
                font-size: 26px;
                font-weight: bold;
                color: rgba(0, 0, 0, 0.85);
                line-height: 40px;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
              }
              .goodPrice {
                width: 100%;
                height: 50px;
                font-size: 36px;
                font-weight: bold;
                color: #cd1818;
                line-height: 50px;
                margin: 4px 0 5px 0;
              }
              .goodSendType {
                width: 100%;
                height: 36px;
                font-size: 22px;
                font-weight: 400;
                color: rgba(0, 0, 0, 0.5);
                line-height: 36px;
              }
            }
          }
        }

        .storeList {
          width: 100%;
          min-height: 540px;
          display: flex;
          flex-direction: column;
          align-items: center;
          .shop {
            width: 710px;
            height: 224px;
            flex-shrink: 0;
            margin-bottom: 20px;
            background: #ffffff;
            border-radius: 15px;
            box-sizing: border-box;
            padding: 20px;
            display: flex;
            position: relative;
            .tcIcon {
              position: absolute;
              top: -7px;
              right: 10px;
              width: 70px;
              height: 92px;
            }
            .left {
              width: 200px;
              height: 200px;
              flex-shrink: 0;
              margin-right: 24px;
              .shopIcon {
                width: 100%;
                height: 100%;
                border-radius: 8px;
              }
            }
            .right {
              width: 466px;
              display: flex;
              flex-direction: column;
              .name {
                max-width: 417px;
                height: 45px;
                font-size: 32px;
                font-weight: bold;
                color: #333333;
                line-height: 45px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
              }
              .info {
                width: 100%;
                height: 37px;
                margin: 4px 0 2px 0;
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 20px;
                font-weight: 400;
                color: #999999;
                .infoLeft {
                  height: 100%;
                  display: flex;
                  align-items: center;
                  .starIcon {
                    width: 25px;
                    height: 25px;
                  }
                  .starNum {
                    height: 100%;
                    font-size: 26px;
                    font-weight: bold;
                    color: #ff7900;
                    margin-left: 4px;
                  }
                  .saleTitle {
                    margin: 0 4px 0 16px;
                  }
                }
                .infoRight {
                  height: 28px;
                  display: flex;
                  align-items: center;
                  .distance {
                    margin-left: 20px;
                  }
                }
              }

              .tags {
                margin-bottom: 4px;
              }

              .fee {
                width: 100%;
                height: 30px;
                margin-right: 4px;
                display: flex;
                .mText {
                  height: 100%;
                  font-size: 22px;
                  font-weight: 400;
                  color: #999999;
                  line-height: 30px;
                  margin-right: 20px;
                }
              }
              .manjianLine {
                width: 100%;
                margin-top: 20px;
                margin-right: 5px;
                display: flex;
                .manjian {
                  height: 32px;
                  margin-right: 12px;
                  box-sizing: border-box;
                  padding: 0 6px;
                  background: rgba(255, 220, 38, 0.1);
                  border-radius: 5px;
                  border: 1px solid rgba(247, 133, 0, 0.5);
                  font-size: 22px;
                  font-weight: 400;
                  color: #f78500;
                  line-height: 32px;
                }
              }
            }
          }
          .localOrg {
            height: auto;
            min-height: 208px;
            padding: 24px 24px 24px 24px;
            .left {
              width: 180px;
              height: 180px;
              margin-right: 24px;

              display: flex;
              flex-shrink: 0;
              align-items: center;

              .shopIcon {
                width: 100%;
                height: 100%;
                border-radius: 8px;
              }
            }
            .right {
              width: 478px;
              .name {
                max-width: 440px;
                height: 45px;
                margin-top: 0;
                font-size: 32px;
                font-weight: bold;
                color: #333333;
                line-height: 45px;
              }
              .industry {
                width: 100%;
                height: 28px;
                font-size: 20px;
                font-weight: 400;
                color: #999999;
                line-height: 28px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
              }
              .tags {
                margin-bottom: 4px;
              }
              .notice {
                display: flex;
                align-items: center;
                width: 100%;
                height: 28px;
                margin-top: 12px;
                font-size: 20px;
                font-weight: 400;
                color: #999999;
                line-height: 28px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                .noticeIcon {
                  margin-left: 4px;
                  width: 20px;
                  height: 17px;
                }
              }
              .manjianLine {
                width: 100%;
                margin-top: 20px;
                margin-right: 5px;
                display: flex;
                .manjian {
                  height: 32px;
                  margin-right: 12px;
                  box-sizing: border-box;
                  padding: 0 6px;
                  background: rgba(255, 220, 38, 0.1);
                  border-radius: 5px;
                  border: 1px solid rgba(247, 133, 0, 0.5);
                  font-size: 22px;
                  font-weight: 400;
                  color: #f78500;
                  line-height: 32px;
                }
              }
            }
          }
        }
      }
    }
  }
}
